/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-12-22 09:34:31
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import regex from '../../../../utils/regex.js' // 正则表达式
// import {
//     statusType
// } from '@/utils/config'; //配置项

export default {
    searchObj: [{
            datePickerIsRange: true, //是input
            label: ".", //字段
            prop: "timeDates", //字段名
            width: 8, //参考el-col
            disabled: false, //是否禁用
            placeholder: "进场时间",

        }, {
            select: true, //是input
            label: ".", //字段
            prop: "keyType", //字段名
            width: 5, //参考el-col
            disabled: false, //是否禁用
            placeholder: "材料种类",
            options: []

        },
        {
            input: true, //是input
            label: ".", //字段
            prop: "taskNumber", //字段名
            width: 5, //参考el-col
            disabled: false, //是否禁用
            placeholder: "进场编号",

        },
        {
            btn: true, //是input
            label: ".", //字段
            prop: "", //字段名
            width: 3, //参考el-col
            disabled: false, //是否禁用
            // placeholder: "规格型号",

        },
    ],
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        isOperation: true,
        thead: [{
                label: "项目简称",
                prop: "fProjectname",
                minWidth: "150px",
                align: "left",
            },
            {
                label: "标段",
                prop: "fCompanyname",
                minWidth: "140px",
                align: "left",

            },
            {
                label: '设备识别号',
                prop: 'equipmentNumber',
                minWidth: '180px',
                align: "center",
                Jump: true,
            },
            {
                label: "设备序列号",
                prop: "serialNumber4g",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "设备类型",
                prop: "equipmentType",
                minWidth: "90px",
                align: "center",
            },

            {
                label: "设备型号",
                prop: "equipmentModel",
                minWidth: "80px",
                align: "left",
            },
            {
                label: "设备版本",
                prop: "equipmentVer",
                minWidth: "80px",
                align: "center",
            },
            {
                label: "物联网卡号",
                prop: "iccid4g",
                minWidth: "120px",
                align: "center",
            }
        ],

        isCheckBox: false,
        isIndex: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },

    btnObj: [{
            fEncode: "yj_add",
            fFullname: "新增设备",
            fOrder: 1
        }, {
            fEncode: "yj_edit",
            fFullname: "编辑设备",
            fOrder: 2
        }, {
            fEncode: "yj_delete",
            fFullname: "删除设备",
            fOrder: 3
        }, {
            fEncode: "yj_set",
            fFullname: "设置参数",
            fOrder: 4
        }, {
            fEncode: "yj_sensor",
            fFullname: "传感器设置",
            fOrder: 5
        },
        // {
        //     fEncode: "yj_view",
        //     fFullname: "查看",
        //     fOrder: 7
        // },

    ]
}